﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.guide.actions {

    public class GAWaitForWilderness extends GuideAction {

        protected var m_amount:Number;

        override public function createFromXml(_arg1:XML):Boolean{
            this.m_amount = (int(_arg1.@percent) / 100);
            return (true);
        }
        override public function update(_arg1:Number):void{
            super.update(_arg1);
            if (Global.world.wildernessSim.gotTrees(this.m_amount)){
                removeState(this);
            };
        }

    }
}//package Modules.guide.actions 
